(function (){
    var tab = new fz.Scroll('.ui-tab', {
        role: 'tab',//连接tab这个特效插件
        autoplay: false,//内容不滚动
        interval: 1000//滚动的时间间隔
    });
    //获得时间
    var time1=new Date();
    var array1=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]
    $(".todayItnTM").text(time1.getFullYear()+"年"+(time1.getMonth()+1)+"月"+
        time1.getDate()+"日"+" "+array1[time1.getDay()]);
    //今日已完成订单页面跳转
    $(".btnTodayTM").on("click",function(){
        window.location.href="today.html";
    })
    //未出行订单页面跳转
    $(".btnWeiChuXingTM").on("click",function(){
        window.location.href="Weichuxing.html";
    })
    //历史订单页面跳转
    $(".btnLiShiTM").on("click",function(){
        window.location.href="LiShi.html";
    })
})();
